from tw.forms import TableForm
from tw.api import WidgetsList
from kcbk import KCBK
from tg import url

class AddRecips(TableForm):
    template = "lifepyscle.widgets.templates.add_recips_form"
    hover_help = True
    class fields(WidgetsList):
        recips = KCBK(help_text=u"Wotchit, man") #TODO how to pass json_url and div_id as param ???

add_recips_form = AddRecips("add_recips_form",action=url('do_add'))
